<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-warning"><i class="icon-edit"></i>入库</a>
		<a class="btn btn-write"><i class="icon-share"></i>出库</a>
		<a class="btn btn-primary"><i class="icon-book"></i> 库存详情</a>
	</div>
</div>
<table class="table table-bordered animate2 fadeInUp">
	<thead>
	<tr>
		<th>商品名称</th>
		<th>单位</th>
		<th>序列号状态</th>
		<th>库存数量</th>
		<th>仓库</th>
		<th>所属机构</th>
		<th style="width: 80px;text-align: center;">操作</th>
	</tr>
	</thead>
	<tbody>
	<#list pageBean.resultList as is>
	<tr class="ui-widget-content">
		<td>${is.cname}</td>
		<td>${is.un}</td>
		<td><#if is?? && is.snc == 1>无需序列号<#elseif is?? && is.snc == 2>同类序列号<#elseif is?? && is.snc == 3>唯一序列号</#if></td>
		<td>${is.count}</td>
		<td>${is.dname}</td>
		<td>${is.on}</td>
		<td style="text-align: center;">
			<div id="tttttt" class="btn-group">
				<a href="javascript:;" onclick="javascript: sys_load_handle('invStorage-in_${is.code}');return false;" data-toggle="tooltip" class="btn btn-xs btn-warning" title="入库"><i class="icon-edit"></i></a>
				<a href="javascript:;" onclick="javascript: sys_load_handle('invStorage-out_${is.code}');return false;" data-toggle="tooltip"  class="btn btn-xs btn-write" title="出库"><i class="icon-share"></i></a>
				<a href="javascript:;" onclick="javascript: showSerial_invStorage('${is.code}');return false;" data-toggle="tooltip" class="btn btn-xs btn-success" title="详情"><i class="icon-book"></i></a>
			</div>
		</td>
	</tr>
	</#list>
	</tbody>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_invStorage'/>